Main article: Mongol invasion of Khwarezmia Bài chi tiết: Mông Cổ xâm lược Khwarezmia
From the Abbasid era to the Mongol invasion of Khwarezmia and Eastern Iran, the city evolved into a significant cultural, commercial, and intellectual center within the Islamic world. Từ thời Abbas cho đến khi Mông Cổ xâm lược Khwarezmia và Đông Iran, nơi đây đã phát triển thành một trung tâm văn hóa, kinh tế và giáo dục lớn của thế giới Hồi giáo.